import request from '@/utils/request'

// 查询app模块列表
export function listApp_module(query) {
  return request({
    url: '/cms/app_module/list',
    method: 'get',
    params: query
  })
}

// 查询app模块详细
export function getApp_module(id3) {
  return request({
    url: '/cms/app_module/' + id3,
    method: 'get'
  })
}

// 新增app模块
export function addApp_module(data) {
  return request({
    url: '/cms/app_module',
    method: 'post',
    data: data
  })
}

// 修改app模块
export function updateApp_module(data) {
  return request({
    url: '/cms/app_module',
    method: 'put',
    data: data
  })
}

// 删除app模块
export function delApp_module(id3) {
  return request({
    url: '/cms/app_module/' + id3,
    method: 'delete'
  })
}
